clear;
clc;
disp('Toyclassificator started!');
disp('Pictures in sample images are to be classified.');
disp('-----------------------------------------------');

%Count Ground Truth
pictures = dir('sample images/*.jpeg');
pictureNames = {pictures.name};
real = [length(pictureNames(strmatch('b',pictureNames))), ...
    length(pictureNames(strmatch('g',pictureNames))), ...
    length(pictureNames(strmatch('u',pictureNames)))];

%Start classification
%result = Classificator('sample images',true); %with user feedback
result = Classificator('sample images',false); %run-through

%print statistic
disp('-----------------------------------------------');
disp('Result:');
disp(['Amount Boy pictures given: ',num2str(real(1))]);
disp(['Amount classified as Boy pictures: ',num2str(result(1))]);
disp(['Amount Girls pictures given: ',num2str(real(2))]);
disp(['Amount classified as Girl pictures: ',num2str(result(2))]);
disp(['Amount Undefined pictures given: ',num2str(real(3))]);
disp(['Amount classified as Undefined pictures: ',num2str(result(3))]);